<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>png++: png::detail::convert_color_space_impl&lt; pixel &gt; Struct Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">png++
   &#160;<span id="projectnumber">0.2.1</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacepng.html">png</a>      </li>
      <li class="navelem"><a class="el" href="namespacepng_1_1detail.html">detail</a>      </li>
      <li class="navelem"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">convert_color_space_impl</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">png::detail::convert_color_space_impl&lt; pixel &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="png::detail::convert_color_space_impl" -->
<p>IO transformation class template. Converts image color space.  
 <a href="structpng_1_1detail_1_1convert__color__space__impl.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="convert__color__space_8hpp_source.html">convert_color_space.hpp</a>&gt;</code></p>

<p><a href="structpng_1_1detail_1_1convert__color__space__impl-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef pixel_traits&lt; pixel &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#aaab05b7d03ad13294c6d3d93b2cb74f4">traits</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef traits::component_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ad95dcf5a0fa7cdbf9a3151d6f82181a5">component_type</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
<a class="el" href="structpng_1_1basic__alpha__pixel__traits.html">basic_alpha_pixel_traits</a><br class="typebreak"/>
&lt; <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ad95dcf5a0fa7cdbf9a3151d6f82181a5">component_type</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a0c9185f5bbe9c0b7b28cc2b2b6439c0d">alpha_traits</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class reader &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae34dba16ec7a6b23d455b30ddfaa0d6d">operator()</a> (<a class="el" href="classpng_1_1reader.html">reader</a> &amp;io) const </td></tr>
<tr><td colspan="2"><h2><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a5caef70198d33621461d4dd93a03d80d">expand_8_to_16</a> (png_struct *, png_row_info *row_info, <a class="el" href="namespacepng.html#ac0e0e2e09bdd9a287618bfdc5f31ca52">byte</a> *row)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#adf203d1ef4c2ad91250dcbd5d9a00d56">dump_row</a> (<a class="el" href="namespacepng.html#ac0e0e2e09bdd9a287618bfdc5f31ca52">byte</a> const *row, size_t width)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class reader &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">static void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a5b4540ba76df4cc4ce7becd5b701c215">handle_16</a> (<a class="el" href="classpng_1_1reader.html">reader</a> &amp;io)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class reader &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">static void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae6d8c742aceeb6bd4045030d1839e099">handle_alpha</a> (<a class="el" href="classpng_1_1reader.html">reader</a> &amp;io, <a class="el" href="namespacepng.html#a76064164adfdd2316adebf0a4fb83873">uint_32</a> filler)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class reader &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">static void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a6d47f40d7acabc8b7417e5a75bb45298">handle_palette</a> (<a class="el" href="classpng_1_1reader.html">reader</a> &amp;io)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class reader &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">static void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#aabda009d0f40f092d98a4b092e29dbc8">handle_rgb</a> (<a class="el" href="classpng_1_1reader.html">reader</a> &amp;io)</td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class reader &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">static void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae1a7d10063a248ee5fdca917a5154d12">handle_gray</a> (<a class="el" href="classpng_1_1reader.html">reader</a> &amp;io)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename pixel&gt;<br/>
struct png::detail::convert_color_space_impl&lt; pixel &gt;</h3>

<p>IO transformation class template. Converts image color space. </p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="aaab05b7d03ad13294c6d3d93b2cb74f4"></a><!-- doxytag: member="png::detail::convert_color_space_impl::traits" ref="aaab05b7d03ad13294c6d3d93b2cb74f4" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef pixel_traits&lt; pixel &gt; <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#aaab05b7d03ad13294c6d3d93b2cb74f4">traits</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad95dcf5a0fa7cdbf9a3151d6f82181a5"></a><!-- doxytag: member="png::detail::convert_color_space_impl::component_type" ref="ad95dcf5a0fa7cdbf9a3151d6f82181a5" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef traits::component_type <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ad95dcf5a0fa7cdbf9a3151d6f82181a5">component_type</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0c9185f5bbe9c0b7b28cc2b2b6439c0d"></a><!-- doxytag: member="png::detail::convert_color_space_impl::alpha_traits" ref="a0c9185f5bbe9c0b7b28cc2b2b6439c0d" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structpng_1_1basic__alpha__pixel__traits.html">basic_alpha_pixel_traits</a>&lt; <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ad95dcf5a0fa7cdbf9a3151d6f82181a5">component_type</a> &gt; <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a0c9185f5bbe9c0b7b28cc2b2b6439c0d">alpha_traits</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae34dba16ec7a6b23d455b30ddfaa0d6d"></a><!-- doxytag: member="png::detail::convert_color_space_impl::operator()" ref="ae34dba16ec7a6b23d455b30ddfaa0d6d" args="(reader &amp;io) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
<div class="memtemplate">
template&lt;class reader &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1reader.html">reader</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5caef70198d33621461d4dd93a03d80d"></a><!-- doxytag: member="png::detail::convert_color_space_impl::expand_8_to_16" ref="a5caef70198d33621461d4dd93a03d80d" args="(png_struct *, png_row_info *row_info, byte *row)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a5caef70198d33621461d4dd93a03d80d">expand_8_to_16</a> </td>
          <td>(</td>
          <td class="paramtype">png_struct *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">png_row_info *&#160;</td>
          <td class="paramname"><em>row_info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacepng.html#ac0e0e2e09bdd9a287618bfdc5f31ca52">byte</a> *&#160;</td>
          <td class="paramname"><em>row</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a5b4540ba76df4cc4ce7becd5b701c215">png::detail::convert_color_space_impl&lt; rgb_pixel &gt;::handle_16()</a>.</p>

</div>
</div>
<a class="anchor" id="adf203d1ef4c2ad91250dcbd5d9a00d56"></a><!-- doxytag: member="png::detail::convert_color_space_impl::dump_row" ref="adf203d1ef4c2ad91250dcbd5d9a00d56" args="(byte const *row, size_t width)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#adf203d1ef4c2ad91250dcbd5d9a00d56">dump_row</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacepng.html#ac0e0e2e09bdd9a287618bfdc5f31ca52">byte</a> const *&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>width</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a5caef70198d33621461d4dd93a03d80d">png::detail::convert_color_space_impl&lt; rgb_pixel &gt;::expand_8_to_16()</a>.</p>

</div>
</div>
<a class="anchor" id="a5b4540ba76df4cc4ce7becd5b701c215"></a><!-- doxytag: member="png::detail::convert_color_space_impl::handle_16" ref="a5b4540ba76df4cc4ce7becd5b701c215" args="(reader &amp;io)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
<div class="memtemplate">
template&lt;class reader &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a5b4540ba76df4cc4ce7becd5b701c215">handle_16</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1reader.html">reader</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em></td><td>)</td>
          <td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae34dba16ec7a6b23d455b30ddfaa0d6d">png::detail::convert_color_space_impl&lt; rgb_pixel &gt;::operator()()</a>.</p>

</div>
</div>
<a class="anchor" id="ae6d8c742aceeb6bd4045030d1839e099"></a><!-- doxytag: member="png::detail::convert_color_space_impl::handle_alpha" ref="ae6d8c742aceeb6bd4045030d1839e099" args="(reader &amp;io, uint_32 filler)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
<div class="memtemplate">
template&lt;class reader &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae6d8c742aceeb6bd4045030d1839e099">handle_alpha</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1reader.html">reader</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacepng.html#a76064164adfdd2316adebf0a4fb83873">uint_32</a>&#160;</td>
          <td class="paramname"><em>filler</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae34dba16ec7a6b23d455b30ddfaa0d6d">png::detail::convert_color_space_impl&lt; rgb_pixel &gt;::operator()()</a>.</p>

</div>
</div>
<a class="anchor" id="a6d47f40d7acabc8b7417e5a75bb45298"></a><!-- doxytag: member="png::detail::convert_color_space_impl::handle_palette" ref="a6d47f40d7acabc8b7417e5a75bb45298" args="(reader &amp;io)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
<div class="memtemplate">
template&lt;class reader &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#a6d47f40d7acabc8b7417e5a75bb45298">handle_palette</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1reader.html">reader</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em></td><td>)</td>
          <td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae34dba16ec7a6b23d455b30ddfaa0d6d">png::detail::convert_color_space_impl&lt; rgb_pixel &gt;::operator()()</a>.</p>

</div>
</div>
<a class="anchor" id="aabda009d0f40f092d98a4b092e29dbc8"></a><!-- doxytag: member="png::detail::convert_color_space_impl::handle_rgb" ref="aabda009d0f40f092d98a4b092e29dbc8" args="(reader &amp;io)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
<div class="memtemplate">
template&lt;class reader &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#aabda009d0f40f092d98a4b092e29dbc8">handle_rgb</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1reader.html">reader</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em></td><td>)</td>
          <td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae34dba16ec7a6b23d455b30ddfaa0d6d">png::detail::convert_color_space_impl&lt; rgb_pixel &gt;::operator()()</a>.</p>

</div>
</div>
<a class="anchor" id="ae1a7d10063a248ee5fdca917a5154d12"></a><!-- doxytag: member="png::detail::convert_color_space_impl::handle_gray" ref="ae1a7d10063a248ee5fdca917a5154d12" args="(reader &amp;io)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename pixel&gt; </div>
<div class="memtemplate">
template&lt;class reader &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html">png::detail::convert_color_space_impl</a>&lt; pixel &gt;::<a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae1a7d10063a248ee5fdca917a5154d12">handle_gray</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classpng_1_1reader.html">reader</a> &amp;&#160;</td>
          <td class="paramname"><em>io</em></td><td>)</td>
          <td><code> [inline, static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Referenced by <a class="el" href="structpng_1_1detail_1_1convert__color__space__impl.html#ae34dba16ec7a6b23d455b30ddfaa0d6d">png::detail::convert_color_space_impl&lt; rgb_pixel &gt;::operator()()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="convert__color__space_8hpp_source.html">convert_color_space.hpp</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 25 2013 14:10:10 for png++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
